package com.ctshk.rpc.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalTime;

/**
 * @ClassName SeasonFixedProductPackageShipReq
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/9
 **/
@Data
@ApiModel(value="SeasonFixedProductPackageShipReq对象", description="固定套票船票产品信息req")
public class SeasonFixedProductPackageShipReq implements Serializable {


    @ApiModelProperty(value = "船票产品id")
    private Long productId;

    @ApiModelProperty(value = "打包id")
    private Long packageId;

    @ApiModelProperty(value = "行程类型(depart：出发，return：回程)",required = true)
    @NotNull(message = "行程类型不能为空")
    private String tripType;

    @ApiModelProperty(value = "船公司id",required = true)
    @NotNull(message = "船公司id不能为空")
    private Long companyId;

    @ApiModelProperty(value = "出发时间",required = true)
    @NotNull(message = "出发时间不能为空")
    private LocalTime depTime;

    @ApiModelProperty(value = "船公司名称")
    @NotNull(message = "船公司不能为空")
    private String companyName;

    @ApiModelProperty(value = "舱位(1 普通舱，2 高级舱，3 豪华舱)")
    private Integer cabinClass;

    @ApiModelProperty(value = "航班号,船次码")
    @NotNull(message = "航班号不能为空")
    private String voyage;

    @ApiModelProperty(value = "航班线id")
    @NotNull(message = "航班线id不能为空")
    private Long routeId;

    @ApiModelProperty(value = "航班线名称")
    @NotNull(message = "航班线名称不能为空")
    private String routeName;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "是否默认")
    private Integer isDefault;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
}
